package com.imooc.service.impl;

import com.imooc.service.AService;
import com.imooc.service.BService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author HanBin_Yang
 * @since 2024/2/12 22:07
 */
@Service("aServiceImpl")
public class AServiceImpl implements AService {

	@Autowired
	private BService bService;


	@Override
	public String sayA() {
		return "this is A";
	}

	@Override
	public void say() {
		bService.sayB();
	}
}
